-
Home
-
WooCommerce Blocks
-
11.7.0 (latest)
-
Code
-
Classes
- Authentication
Total Complexity |
37 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
283 |
Lines of code |
138 |
Logical lines of code |
76 |
Comment lines |
110 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_ip_address() |
A |
47 |
10 |
35 |
send_cors_headers() |
S |
56 |
6 |
17 |
apply_rate_limiting() |
S |
48 |
4 |
34 |
check_authentication() |
S |
70 |
3 |
6 |
init() |
S |
63 |
2 |
10 |
is_preflight() |
S |
76 |
2 |
3 |
has_valid_cart_token() |
S |
74 |
2 |
4 |
set_logged_in_cookie() |
S |
71 |
2 |
6 |
is_request_to_store_api() |
S |
69 |
2 |
6 |
validate_ip() |
S |
67 |
2 |
8 |
allowed_cors_headers() |
S |
71 |
1 |
6 |
get_cart_token_secret() |
S |
80 |
1 |
3 |